//
// Created by zhupi on 2024/10/2.
//

#include "file_open_dialog_view_ctrl.h"
#include "file_open_dialog.h"
#include "python_window_dialog.h"
FileOpenDialogViewCtrl &FileOpenDialogViewCtrl::GetIns() {
    static FileOpenDialogViewCtrl ins;
    return ins;
}

void FileOpenDialogViewCtrl::Initial()
{
//    FileOpenDialog *dialog = new FileOpenDialog("demo", nullptr);
//    dialog->Initial();
//    dialog->exec();

    PythonWindowDialog *dialog = new PythonWindowDialog(nullptr);
    dialog->Iitial();
    dialog->exec();
}
